package server.factory;

import java.util.Date;

import fr.appliClient.server.entity.Maintenance;

public class MaintenanceMockFactory extends MockFactory<Maintenance> {

	public MaintenanceMockFactory() {

		super(Maintenance.class);
	}

	@Override
	protected void populate(int seed, Maintenance mock) {

		mock.setCost(Float.intBitsToFloat(seed));
		mock.setDate(new Date(seed));
		mock.setMileage(Float.intBitsToFloat(seed));
		mock.setName("name" + seed);
		mock.setReport("report" + seed);

	}

}
